package org.speed.jdk;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.ThreadPoolExecutor;

public class ThreadPoolDemo {
	
	public static void main(String[] args) {
		
		ThreadPoolExecutor pools = (ThreadPoolExecutor) Executors.newFixedThreadPool(10);
		
		pools.prestartAllCoreThreads();
	
		
		
		try {
			Thread.sleep(1000 * 60);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	
		
		
	}

}
